<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
    <ProjectGuid>{A1F9B020-6573-4BB2-A887-7F26561A9D18}</ProjectGuid>
    <OutputType>Exe</OutputType>
    <RootNamespace>MonoDevelop.StressTest</RootNamespace>
    <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug</OutputPath>
    <DefineConstants>DEBUG;</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <ExternalConsole>true</ExternalConsole>
    <PlatformTarget>x64</PlatformTarget>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
    <Optimize>true</Optimize>
    <OutputPath>bin\Release</OutputPath>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <ExternalConsole>true</ExternalConsole>
    <PlatformTarget>x64</PlatformTarget>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(RunConfiguration)' == 'Default' ">
    <StartAction>Project</StartAction>
    <ExternalConsole>false</ExternalConsole>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="MonoDevelop.Ide">
      <HintPath>..\..\build\bin\MonoDevelop.Ide.dll</HintPath>
    </Reference>
    <Reference Include="MonoDevelop.Core">
      <HintPath>..\..\build\bin\MonoDevelop.Core.dll</HintPath>
    </Reference>
  </ItemGroup>
  <ItemGroup>
    <PackageReference Include="NUnit" Version="$(NuGetVersionNUnit2)" />
    <PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
    <PackageReference Include="QuickGraph" Version="3.6.61119.7" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="Properties\AssemblyInfo.cs" />
    <Compile Include="MonoDevelop.StressTest\Program.cs" />
    <Compile Include="MonoDevelop.StressTest\StressTestApp.cs" />
    <Compile Include="..\UserInterfaceTests\Ide.cs">
      <Link>UserInterfaceTests\Ide.cs</Link>
    </Compile>
    <Compile Include="..\UserInterfaceTests\IdeQuery.cs">
      <Link>UserInterfaceTests\IdeQuery.cs</Link>
    </Compile>
    <Compile Include="..\UserInterfaceTests\Workbench.cs">
      <Link>UserInterfaceTests\Workbench.cs</Link>
    </Compile>
    <Compile Include="..\UserInterfaceTests\TestService.cs">
      <Link>UserInterfaceTests\TestService.cs</Link>
    </Compile>
    <Compile Include="..\UserInterfaceTests\Util.cs">
      <Link>UserInterfaceTests\Util.cs</Link>
    </Compile>
    <Compile Include="..\UserInterfaceTests\UITestDebug.cs">
      <Link>UserInterfaceTests\UITestDebug.cs</Link>
    </Compile>
    <Compile Include="..\UserInterfaceTests\TemplateTestOptions.cs">
      <Link>UserInterfaceTests\TemplateTestOptions.cs</Link>
    </Compile>
    <Compile Include="UserInterfaceTests\UITestBase.cs" />
    <Compile Include="UserInterfaceTests\CreateBuildTemplatesTestBase.cs" />
    <Compile Include="UserInterfaceTests\WorkbenchExtensions.cs" />
    <Compile Include="MonoDevelop.StressTest\TextEditor.cs" />
    <Compile Include="MonoDevelop.StressTest\ITestScenario.cs" />
    <Compile Include="MonoDevelop.StressTest\StressTestOptions.cs" />
    <Compile Include="Mono.Profiling.Log\LogEnums.cs" />
    <Compile Include="Mono.Profiling.Log\LogStreamHeader.cs" />
    <Compile Include="Mono.Profiling.Log\LogStream.cs" />
    <Compile Include="Mono.Profiling.Log\LogReader.cs" />
    <Compile Include="Mono.Profiling.Log\LogProfiler.cs" />
    <Compile Include="Mono.Profiling.Log\LogProcessor.cs" />
    <Compile Include="Mono.Profiling.Log\LogException.cs" />
    <Compile Include="Mono.Profiling.Log\LogEvents.cs" />
    <Compile Include="Mono.Profiling.Log\LogEventVisitor.cs" />
    <Compile Include="Mono.Profiling.Log\LogEvent.cs" />
    <Compile Include="Mono.Profiling.Log\LogBufferHeader.cs" />
    <Compile Include="MonoDevelop.StressTest\ITestScenarioProvider.cs" />
    <Compile Include="MonoDevelop.StressTest.Attributes\NoLeakAttribute.cs" />
    <Compile Include="MonoDevelop.StressTest\Serialization\ResultDataModel.cs" />
    <Compile Include="MonoDevelop.StressTest\Scenarios\DefaultScenario.cs" />
    <Compile Include="MonoDevelop.StressTest\Scenarios\DefaultScenarioProvider.cs" />
    <Compile Include="MonoDevelop.StressTest\Profiler\ProfilerProcessor.cs" />
    <Compile Include="MonoDevelop.StressTest\Profiler\ProfilerOptions.cs" />
    <Compile Include="MonoDevelop.StressTest\Profiler\Heapshot.cs" />
    <Compile Include="MonoDevelop.StressTest\Profiler\LeakProcessor.cs" />
    <Compile Include="MonoDevelop.StressTest\Profiler\TestScenarioLeakExtensions.cs" />
    <Compile Include="MonoDevelop.StressTest\Profiler\GraphExtensions.cs" />
    <Compile Include="MonoDevelop.StressTest\IEditorTestScenario.cs" />
    <Compile Include="UserInterfaceTests\Properties.cs" />
    <Compile Include="MonoDevelop.StressTest\Profiler\TaskQueue.cs" />
  </ItemGroup>
  <ItemGroup>
    <Folder Include="MonoDevelop.StressTest.Attributes\" />
    <Folder Include="MonoDevelop.StressTest\Serialization\" />
    <Folder Include="MonoDevelop.StressTest\Scenarios\" />
    <Folder Include="MonoDevelop.StressTest\Profiler\" />
  </ItemGroup>
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  <Target Name="AfterBuild">
      <PropertyGroup>
        <MonoAddinsDir>..\..\external\mono-addins</MonoAddinsDir>
      </PropertyGroup>
      <ItemGroup>
          <TestProjectFiles Include="TestProject\**" />
          <MonoAddinsFiles Include="$(MonoAddinsDir)\Mono.Addins\**" Exclude="$(MonoAddinsDir)\Mono.Addins\obj\**;$(MonoAddinsDir)\**\.DS_Store" />
      </ItemGroup>
      <Copy SourceFiles="@(TestProjectFiles)" DestinationFolder="$(OutputPath)\TestProject\%(RecursiveDir)" SkipUnchangedFiles="true" />
      <Copy SourceFiles="@(MonoAddinsFiles)" DestinationFolder="$(OutputPath)\TestProject\mono-addins\Mono.Addins\%(RecursiveDir)" SkipUnchangedFiles="true" />
      <Copy SourceFiles="$(MonoAddinsDir)\Version.props;$(MonoAddinsDir)\TargetFrameworks.props;$(MonoAddinsDir)\mono-addins.snk" DestinationFolder="$(OutputPath)\TestProject\mono-addins" SkipUnchangedFiles="true" />
  </Target>
</Project>
